package com.gxa.modules.model.entity.hospital;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gxa.modules.model.entity.fee.Patient;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 报告查询单
 * </p>
 *
 * @author yjl
 * @since 2022-11-12 07:17:13
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_pathology_report")
@ApiModel(value = "PathologyReport对象", description = "报告查询单")
public class PathologyReport implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("病理检查名称")
    @TableField("pathology_report_name")
    private String pathologyReportName;

    @ApiModelProperty("检查日期")
    @TableField("check_date")
    private Date checkDate;

    @ApiModelProperty("科室")
    @TableField("department")
    private String department;

    @ApiModelProperty("医生")
    @TableField("doctor")
    private String doctor;

    @ApiModelProperty("详细信息")
    @TableField("content")
    private String content;

    @ApiModelProperty("删除：0 未删除，1 已删除")
    @TableField("is_delete")
    private Integer isDelete;

    @ApiModelProperty("检查类型：0 病理报告单，1 检查报告单，2 检验报告单,3 体检报告单")
    @TableField("check_type")
    private Integer checkType;

    @ApiModelProperty("患者外键")
    @TableField("patient_id")
    private Patient patient;


}
